<template>
  <div>
    <div v-if="!userList" style="text-align:center;font-size: x-large;height: 200px;line-height: 200px;">还没有粉丝，快关注ta吧(〃'▽'〃)</div>
    <user-list :user-list="userList"></user-list>
  </div>
</template>

<script>
import { getFun } from '@/api/user_follow_user'
import UserList from '@/components/UserList'

export default {
  components: { UserList },
  data () {
    return {
      userList: []
    }
  },
  created () {
    this.getFun()
  },
  methods: {
    async getFun () {
      const res = await getFun(this.$route.query.id)
      this.userList = res.userList
    }
  }
}
</script>

<style scoped>

</style>
